mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[12015] Add pullrequest #47 for improvements with mmap generator debug output
Don't override obj-files, which are created with "movemapgen -debugOutput true" Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
3d3529dc07
commit
fa6233609b
2 changed files with 2 additions and 2 deletions
|
|
@ -202,7 +202,7 @@ namespace MMAP
|
|||
void IntermediateValues::generateObjFile(uint32 mapID, uint32 tileX, uint32 tileY, MeshData &meshData)
|
||||
{
|
||||
char objFileName[255];
|
||||
sprintf(objFileName, "meshes/map%03u.obj", mapID);
|
||||
sprintf(objFileName, "meshes/map%03u%02u%02u.obj", mapID, tileY, tileX);
|
||||
|
||||
FILE* objFile = fopen(objFileName, "wb");
|
||||
if (!objFile)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue