mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-18 06:01:19 +02:00
probably fix uninitialized thing in VIBR, might spend longer later messing with d4zk1tty's fuzzer script
This commit is contained in:
@@ -80,9 +80,9 @@ int Element_VIBR::update(UPDATE_FUNC_ARGS) {
|
|||||||
else //if it is exploding
|
else //if it is exploding
|
||||||
{
|
{
|
||||||
//Release sparks before explode
|
//Release sparks before explode
|
||||||
|
rndstore = rand();
|
||||||
if (parts[i].life < 300)
|
if (parts[i].life < 300)
|
||||||
{
|
{
|
||||||
rndstore = rand();
|
|
||||||
rx = rndstore%3-1;
|
rx = rndstore%3-1;
|
||||||
ry = (rndstore>>2)%3-1;
|
ry = (rndstore>>2)%3-1;
|
||||||
rndstore = rndstore >> 4;
|
rndstore = rndstore >> 4;
|
||||||
|
Reference in New Issue
Block a user