mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
- Changed the way DrawSelectedInventory is casted so that clang doesn't warn about it.
SVN r4275 (trunk)
This commit is contained in:
parent
5007571732
commit
7fd0950ab9
1 changed files with 1 additions and 1 deletions
|
@ -3374,7 +3374,7 @@ SBarInfoCommand *SBarInfoCommandFlowControl::NextCommand(FScanner &sc)
|
|||
case SBARINFO_DRAWSTRING: return new CommandDrawString(script);
|
||||
case SBARINFO_DRAWNUMBER: return new CommandDrawNumber(script);
|
||||
case SBARINFO_DRAWMUGSHOT: return new CommandDrawMugShot(script);
|
||||
case SBARINFO_DRAWSELECTEDINVENTORY: return reinterpret_cast<CommandDrawImage *> (new CommandDrawSelectedInventory(script));
|
||||
case SBARINFO_DRAWSELECTEDINVENTORY: return static_cast<SBarInfoCommandFlowControl *> (new CommandDrawSelectedInventory(script));
|
||||
case SBARINFO_DRAWSHADER: return new CommandDrawShader(script);
|
||||
case SBARINFO_DRAWINVENTORYBAR: return new CommandDrawInventoryBar(script);
|
||||
case SBARINFO_DRAWKEYBAR: return new CommandDrawKeyBar(script);
|
||||
|
|
Loading…
Reference in a new issue