1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-07 03:12:36 +01:00

display the proper UI icon texture for detonator

This commit is contained in:
vflyson 2017-02-17 18:01:38 -05:00 committed by Daniel Evans
parent 4121378729
commit 9fc38c5d51

View File

@ -167,6 +167,8 @@ void drawPlayerInfo(PlayerController* player, GameWorld* world,
// Urgh // Urgh
if (itemTextureName == "colt45") { if (itemTextureName == "colt45") {
itemTextureName = "pistol"; itemTextureName = "pistol";
} else if (itemTextureName == "bomb") {
itemTextureName = "detonator";
} }
TextureData::Handle itemTexture = TextureData::Handle itemTexture =