Funny Vavoom bugs

Anything not covered by other topics

Funny Vavoom bugs

Postby Crimson Wizard » 04 Mar 2009 16:44

What about sharing funny bugs found either in Vavoom or in mods? :)
I already have reported one bug which made me smile: viewtopic.php?f=1&t=1507

Now I want to tell about one silly bug I made myself. Was not much a problem really, but I liked the results :)
In Scattered Evil game (Hexen based TC) we are making player has a weapons belt, where he put a limited number of weapons from his inventory for quick access. From the point of view of code this means extra references to weapon objects.
I was experimenting with some conditions when player should drop his readied weapon (well, let's say, because he is scared :twisted: ), and saw some strange behavior: although weapon was dropped, player still could select it and use it. I found rather soon that it is because I forgot to remove a duplicate reference from his weapons belt. It appeared that player just selected and used a weapon he did not own already, and that could lie hungred meters away from him.
Such a sort of telekinesis, or rather phantom weapon :yummy: :plasma:
Crimson Wizard
 
Posts: 881
Joined: 09 Nov 2005 14:21
Location: St. Petersburg, Russia

Return to General

Who is online

Users browsing this forum: AaaNigAbsogs and 1 guest

cron