mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-07 14:51:08 +00:00
Slightly more sensible error/msgbox handling
This commit is contained in:
parent
7faee73f14
commit
26d056d924
15 changed files with 48 additions and 83 deletions
|
@ -306,12 +306,12 @@ Vector VectorPath::getValue(float usePercent)
|
|||
|
||||
if (!from && !target)
|
||||
{
|
||||
msg ("returning first value");
|
||||
errorLog("returning first value");
|
||||
return pathNodes[0].value;
|
||||
}
|
||||
else if (!from && target)
|
||||
{
|
||||
msg("Unexpected Path node result (UPDATE: Could use current value as from?)");
|
||||
errorLog("Unexpected Path node result (UPDATE: Could use current value as from?)");
|
||||
}
|
||||
else if (from && !target)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue