I propose that the hole tile respawns like a bush would.
So i’d do this if I had a working compiler, but I don’t… so if someone could add the value to the svn so as for the benefit of us all it’d be appreciated.
I assume no one has any objections to this. And it saves having to place a npc to respawn tiles in place of holes which is a terrible solution…
All that needs changing is for 0x72A to be added to the array in TLevel.cpp so it becomes:
[QUOTE=tricxta;100312]
I propose that the hole tile respawns like a bush would.
So i’d do this if I had a working compiler, but I don’t… so if someone could add the value to the svn so as for the benefit of us all it’d be appreciated.
I assume no one has any objections to this. And it saves having to place a npc to respawn tiles in place of holes which is a terrible solution…
All that needs changing is for 0x72A to be added to the array in TLevel.cpp so it becomes:
If the version could also be compiled, that’d be an added bonus and greatly appreciated. Cheers.
In the original source a comma is included after the last element, is this some kind of weird c++ syntax or purely a coding error?
[/QUOTE]
That last thing might rather be somebody’s personal coding style rather than a syntax error or weird c++ syntax. Either way works.
I could add it as is, but the current build being developed upon acts rather strange, so I’d suggest just getting you a IDE to compile the 2.4.0 gserver from the svn yourself with your added code.
[QUOTE=tricxta;100312]In the original source a comma is included after the last element, is this some kind of weird c++ syntax or purely a coding error?[/QUOTE]
It’s valid C++ code. It’s helpful to leave it there if it’s an array that might be added to later.
[QUOTE=Cadavre;100317]but the current build being developed upon acts rather strange[/quote]
What? How? I sure hope this conclusion isn’t based on kalzor’s expert assessment.