From 1b2703aaba9ef21b8fca7c12b299fcd0fd4b9251 Mon Sep 17 00:00:00 2001 From: GreYFoXGTi Date: Sat, 12 Feb 2011 12:40:36 +0200 Subject: Refactoring & fixed WEAPONSPEC_GUN in content.py --- src/tools/map_resave.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/tools/map_resave.cpp') diff --git a/src/tools/map_resave.cpp b/src/tools/map_resave.cpp index f7d6e18d..d97f0323 100644 --- a/src/tools/map_resave.cpp +++ b/src/tools/map_resave.cpp @@ -7,7 +7,7 @@ int main(int argc, const char **argv) { IStorage *pStorage = CreateStorage("Teeworlds", argc, argv); - int Index, Id = 0, Type = 0, Size; + int Index, ID = 0, Type = 0, Size; void *pPtr; char aFileName[1024]; CDataFileReader DataFile; @@ -26,9 +26,9 @@ int main(int argc, const char **argv) // add all items for(Index = 0; Index < DataFile.NumItems(); Index++) { - pPtr = DataFile.GetItem(Index, &Type, &Id); + pPtr = DataFile.GetItem(Index, &Type, &ID); Size = DataFile.GetItemSize(Index); - df.AddItem(Type, Id, Size, pPtr); + df.AddItem(Type, ID, Size, pPtr); } // add all data -- cgit 1.4.1