mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2025-09-01 06:20:15 +02:00
Made it compile with GCC on Linux.
Fixed GCC warnings and Windows specifics. Restored C++11, switch to 14 was not supposed to happen. Not 100% sure about my Find* module section.
This commit is contained in:
parent
2fe6d6d33a
commit
28e2417ef9
33 changed files with 523 additions and 190 deletions
|
@ -253,7 +253,7 @@ TPinballComponent* TPinballTable::find_component(int groupIndex)
|
|||
return obj;
|
||||
}
|
||||
}
|
||||
_itoa_s(groupIndex, Buffer, 10);
|
||||
snprintf(Buffer, sizeof Buffer, "%d", groupIndex);
|
||||
SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_WARNING, "Table cant find (lh):", Buffer, nullptr);
|
||||
return nullptr;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue