1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-09-03 17:19:46 +02: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
if (itemTextureName == "colt45") {
itemTextureName = "pistol";
} else if (itemTextureName == "bomb") {
itemTextureName = "detonator";
}
TextureData::Handle itemTexture =