qzdoom/src/g_inventory
Christoph Oelckers 39f53a4de0 - took the delayed console command execution out of the thinker management.
Doing this intermingled with the thinkers is highly unsafe because there are absolutely no guarantees about order of execution.
Effectively it ran these commands right in the middle of the playsim which could cause all sorts of synchronization issues, because CCMDs are part of the UI, not the playsim.

- pass a const string to AddCommandString.

This function manipulated the input buffer, leading to all sorts of code contortions to make sure that the passed parameter is clean for that.
This function will now create a copy of the passed parameter which it can manipulate without complicating its calling code.

# Conflicts:
#	src/c_dispatch.cpp
2019-01-27 10:24:49 +01:00
..
a_keys.cpp - fixed key number assignment during parsing of locks 2019-01-23 20:45:36 +01:00
a_keys.h - reworked the lock code to remove the 255 locks limit and to allow it to automatically deinitialize. 2018-12-29 10:19:31 +01:00
a_pickups.cpp - more direct native function calls. 2018-12-04 18:16:01 +01:00
a_pickups.h Removed all native components from AInventory. 2018-12-04 18:06:09 +01:00
a_weapons.cpp - took the delayed console command execution out of the thinker management. 2019-01-27 10:24:49 +01:00
a_weapons.h - removed all remaining native parts of APlayerPawn. 2019-01-03 22:05:49 +01:00